//
//  LESwitcher.h
//  WindRunner
//
//  Created by leeqb on 3/28/15.
//  Copyright (c) 2015 poweropt. All rights reserved.
//

@protocol LESwitcherDelegate <NSObject>

@optional
- (void)onSwitch:(BOOL)on;

@end

@interface LESwitcher : UIView
@property (weak, nonatomic) IBOutlet UIImageView *switcherOnView;
@property (weak, nonatomic) IBOutlet UIImageView *switcherOffView;
@property (assign, nonatomic) BOOL on;
@property (assign, nonatomic) id<LESwitcherDelegate> delegate;

@end
